﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VladanStrigoNET.Samples.Blogged.Models
{
    public interface IPostRepository
    {
        IList<Post> GetTopPosts();
        IList<Post> GetPostsSince(DateTime startDate);
        IList<Post> GetPostsDuring(DateTime startDate, DateTime endDate);
        Post GetPostById(int id);
        void Delete(int id);
        void AddNewPost(string title, string body);
    }
}
